Deprecate. (#68183)
authorMatthias Clasen <matthiasc@src.gnome.org>
Wed, 16 Jan 2002 19:12:47 +0000 (19:12 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Wed, 16 Jan 2002 19:12:47 +0000 (19:12 +0000)
        * gtk/gtkenums.h (GtkMatchType): Deprecate. (#68183)

        * gtk/gtkscale.h (gtk_scale_value_width): Remove useless
        compatibility macro. (#67730)

        * gtk/changes-2.0.sgml: Details about GtkRange and subclasses
        rewrite. (#67730)

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
docs/reference/ChangeLog
docs/reference/gtk/changes-2.0.sgml
gtk/gtkenums.h
gtk/gtkscale.h

index 93af52e2847141e25e8b524fce0c4632dfd79f29..94a6355600232cbc9711ba4c2d42a6b5413cc050 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2002-01-15  Matthias Clasen  <matthiasc@poet.de>
+
+       * gtk/gtkenums.h (GtkMatchType): Deprecate. (#68183)
+
+       * gtk/gtkscale.h (gtk_scale_value_width): Remove useless 
+       compatibility macro. (#67730) 
+
 Wed Jan 16 10:54:38 2002  Owen Taylor  <otaylor@redhat.com>
 
        * configure.in: Fix typo in --help output.
index 93af52e2847141e25e8b524fce0c4632dfd79f29..94a6355600232cbc9711ba4c2d42a6b5413cc050 100644 (file)
@@ -1,3 +1,10 @@
+2002-01-15  Matthias Clasen  <matthiasc@poet.de>
+
+       * gtk/gtkenums.h (GtkMatchType): Deprecate. (#68183)
+
+       * gtk/gtkscale.h (gtk_scale_value_width): Remove useless 
+       compatibility macro. (#67730) 
+
 Wed Jan 16 10:54:38 2002  Owen Taylor  <otaylor@redhat.com>
 
        * configure.in: Fix typo in --help output.
index 93af52e2847141e25e8b524fce0c4632dfd79f29..94a6355600232cbc9711ba4c2d42a6b5413cc050 100644 (file)
@@ -1,3 +1,10 @@
+2002-01-15  Matthias Clasen  <matthiasc@poet.de>
+
+       * gtk/gtkenums.h (GtkMatchType): Deprecate. (#68183)
+
+       * gtk/gtkscale.h (gtk_scale_value_width): Remove useless 
+       compatibility macro. (#67730) 
+
 Wed Jan 16 10:54:38 2002  Owen Taylor  <otaylor@redhat.com>
 
        * configure.in: Fix typo in --help output.
index 93af52e2847141e25e8b524fce0c4632dfd79f29..94a6355600232cbc9711ba4c2d42a6b5413cc050 100644 (file)
@@ -1,3 +1,10 @@
+2002-01-15  Matthias Clasen  <matthiasc@poet.de>
+
+       * gtk/gtkenums.h (GtkMatchType): Deprecate. (#68183)
+
+       * gtk/gtkscale.h (gtk_scale_value_width): Remove useless 
+       compatibility macro. (#67730) 
+
 Wed Jan 16 10:54:38 2002  Owen Taylor  <otaylor@redhat.com>
 
        * configure.in: Fix typo in --help output.
index 93af52e2847141e25e8b524fce0c4632dfd79f29..94a6355600232cbc9711ba4c2d42a6b5413cc050 100644 (file)
@@ -1,3 +1,10 @@
+2002-01-15  Matthias Clasen  <matthiasc@poet.de>
+
+       * gtk/gtkenums.h (GtkMatchType): Deprecate. (#68183)
+
+       * gtk/gtkscale.h (gtk_scale_value_width): Remove useless 
+       compatibility macro. (#67730) 
+
 Wed Jan 16 10:54:38 2002  Owen Taylor  <otaylor@redhat.com>
 
        * configure.in: Fix typo in --help output.
index 93af52e2847141e25e8b524fce0c4632dfd79f29..94a6355600232cbc9711ba4c2d42a6b5413cc050 100644 (file)
@@ -1,3 +1,10 @@
+2002-01-15  Matthias Clasen  <matthiasc@poet.de>
+
+       * gtk/gtkenums.h (GtkMatchType): Deprecate. (#68183)
+
+       * gtk/gtkscale.h (gtk_scale_value_width): Remove useless 
+       compatibility macro. (#67730) 
+
 Wed Jan 16 10:54:38 2002  Owen Taylor  <otaylor@redhat.com>
 
        * configure.in: Fix typo in --help output.
index 93af52e2847141e25e8b524fce0c4632dfd79f29..94a6355600232cbc9711ba4c2d42a6b5413cc050 100644 (file)
@@ -1,3 +1,10 @@
+2002-01-15  Matthias Clasen  <matthiasc@poet.de>
+
+       * gtk/gtkenums.h (GtkMatchType): Deprecate. (#68183)
+
+       * gtk/gtkscale.h (gtk_scale_value_width): Remove useless 
+       compatibility macro. (#67730) 
+
 Wed Jan 16 10:54:38 2002  Owen Taylor  <otaylor@redhat.com>
 
        * configure.in: Fix typo in --help output.
index e75444fe10a9de0b1c82a22070f691481adc67b8..6e9331ff41ed5ca3bac5e1034228415b2492fc5c 100644 (file)
@@ -1,3 +1,8 @@
+2002-01-15  Matthias Clasen  <matthiasc@poet.de>
+
+       * gtk/changes-2.0.sgml: Details about GtkRange and subclasses
+       rewrite. (#67730)
+
 2002-01-14  Matthias Clasen  <matthiasc@poet.de>
 
        * gtk/running.sgml: Add ids to some elements to make them
index ce05ceed41cc8505a0e92d602fb7ebcd1d200942..1e30020ebff524e282c26417f0c5f57c5fd388e4 100644 (file)
@@ -689,6 +689,70 @@ In GTK+ 1.2, if an event handler returned <literal>TRUE</literal> it prevented
   how to subclass the old version of <structname>GtkRange</structname>, you 
   have our respect). Also, <literal>GtkTroughType</literal> is gone.
 </para>
+<para>
+ Here are some notable changes:
+ <itemizedlist>
+   <listitem>
+     <para>
+       <literal>stepper_size</literal> style property is the height for 
+       vertical ranges, width for horizontal; the other dimension matches 
+       the trough size.
+     </para>
+   </listitem>
+   <listitem>
+     <para>
+       Added the ability to do NeXT-style steppers (and several other styles
+       that don't make any sense).
+     </para>
+   </listitem>
+   <listitem>
+     <para>
+       Added <literal>min_slider_length</literal>, 
+       <literal>fixed_slider_length</literal> properties to
+       <structname>GtkScrollbar</structname>.
+     </para>
+   </listitem>
+   <listitem>
+     <para>
+       Cleaned some private (or at least useless) functions out of
+       <filename>gtkscale.h</filename>, e.g. 
+       <function>gtk_scale_value_width</literal>.
+     </para>
+   </listitem>
+   <listitem>
+     <para>
+       Moved bindings from subclasses to <structname>GtkScale</structname>, 
+       even arrow keys, since blind users don't know scale orientation.
+     </para>
+   </listitem>
+   <listitem>
+     <para>
+       Changed <literal>move_slider</literal> action signal to use new 
+       <structname>GtkScrollType</structname>, remove  
+       <structname>GtkTroughType</structname> argument.
+     </para>
+   </listitem>
+   <listitem>
+     <para>
+       Digits rounds the values a range will input to the given
+       number of decimals, but will not try to force adjustment
+       values set by other controllers. That is, we no longer
+       modify <literal>adjustment->value</literal> inside a 
+       <literal>value_changed</literal> handler.
+     </para>
+   </listitem>
+   <listitem>
+     <para>
+       Added getters for <structname>GtkScale</structname> setters.
+     </para>
+   </listitem>
+   <listitem>
+     <para>
+       Middle-click begins a slider drag.
+     </para>
+   </listitem>
+ </itemizedlist>
+</para>
 </listitem>
 
 <listitem>
index 12ae775ee200e049a142bb0f1f446903e40d8799..a7788fcaefb4d5c2cf909d34de87148bbb632d89 100644 (file)
@@ -162,6 +162,7 @@ typedef enum
   GTK_JUSTIFY_FILL
 } GtkJustification;
 
+#ifndef GTK_DISABLE_DEPRECATED
 /* GtkPatternSpec match types */
 typedef enum
 {
@@ -172,6 +173,7 @@ typedef enum
   GTK_MATCH_EXACT,     /* "AAAAA" */
   GTK_MATCH_LAST
 } GtkMatchType;
+#endif /* GTK_DISABLE_DEPRECATED */
 
 /* Menu keyboard movement types */
 typedef enum
index efa33c6d1cd9d6b09573016fa1b5c42797aad049..7bfca7d77e87ae41a607398579d9aaa6e8bfef19 100644 (file)
@@ -86,10 +86,6 @@ void    _gtk_scale_get_value_size  (GtkScale        *scale,
 gchar  *_gtk_scale_format_value   (GtkScale        *scale,
                                    gdouble          value);
 
-#ifndef GTK_DISABLE_DEPRECATED
-#define        gtk_scale_value_width                   gtk_scale_get_value_width
-#endif /* GTK_DISABLE_DEPRECATED */
-
 #ifdef __cplusplus
 }
 #endif /* __cplusplus */